/*
 * OldXQuerySyntax.java
 */

package xq.swing.text;

import java.util.Collections;
import java.util.HashSet;
import java.util.Set;

/**
 *
 * @author ThorntonRP
 */
public class OldXQuerySyntax {

	public static final Set<String> KEYWORDS;
	public static final Set<String> COMMENT_KEYWORDS;
	

	static {
		Set<String> temp1 = new HashSet<String>();
		Set<String> temp2 = new HashSet<String>();
		String[] keywords = {
			"and",
			"as",
			"at",
			"by",
			"declare",
			"default",
			"define",
			"element",
			"else",
			"external",
			"for",
			"function",
			"if",
			"in",
			"let",
			"namespace",
			"or",
			"order",
			"return",
			"then",
			"variable",
			"where"
		};
		String[] commentKeywords = {
			"pragma", "extension"
		};
		for (String keyword : keywords) {
			temp1.add(keyword);
		}
		for (String keyword : commentKeywords) {
			temp2.add(keyword);
		}
		KEYWORDS = Collections.unmodifiableSet(temp1);
		COMMENT_KEYWORDS = Collections.unmodifiableSet(temp2);
	}
}
